﻿Public Class DetallePedido
    Dim nroPedido As Long
    Dim producto As New Producto()
    Dim cantidad As Double
    Dim cantidadReservada As Double
    Dim Estado As New Estado()
    Dim precio As Double

    Public Property _nroPedido As Long
        Get
            Return nroPedido
        End Get
        Set(ByVal value As Long)
            nroPedido = value
        End Set
    End Property
    Public Property _producto As Producto
        Get
            Return producto
        End Get
        Set(ByVal value As Producto)
            producto = value
        End Set
    End Property
    Public Property _cantidad As Double
        Get
            Return cantidad
        End Get
        Set(ByVal value As Double)
            cantidad = value
        End Set
    End Property
    Public Property _cantidadReservada As Double
        Get
            Return cantidadReservada
        End Get
        Set(ByVal value As Double)
            cantidadReservada = value
        End Set
    End Property
    Public Property _Estado As Estado
        Get
            Return Estado
        End Get
        Set(ByVal value As Estado)
            Estado = value
        End Set
    End Property
    Public Property _precio As Double
        Get
            Return precio
        End Get
        Set(ByVal value As Double)
            precio = value
        End Set
    End Property

End Class
